package one.stand.mapper;

import one.stand.model.UserLevelModel;

import java.util.List;

public interface UserLevelMapper {
    int deleteByPrimaryKey(Integer levelId);

    int insertSelective(UserLevelModel record);

    UserLevelModel selectByPrimaryKey(Integer levelId);

    int updateByPrimaryKeySelective(UserLevelModel record);

    List<UserLevelModel> select(UserLevelModel record);

    UserLevelModel getUserLevelInfo(Integer userId);

    int getNewOrderCount(Integer userId);

    List<UserLevelModel> myInvitationList(UserLevelModel record);

    List<UserLevelModel> applyBusinessList(UserLevelModel record);

    List<UserLevelModel> distributorOrderList(UserLevelModel record);

    List<UserLevelModel> saveInvitationCard(UserLevelModel record);

    Integer getOrderMoeny(Integer userId);
}